home *** CD-ROM | disk | FTP | other *** search
/ Programmer Power Tools / Programmer Power Tools.iso / bss / pup.arc / PUPMEM.H < prev    next >
C/C++ Source or Header  |  1987-10-29  |  2KB  |  61 lines

  1. /*
  2.     pup's memory usage declarations.
  3. */
  4.  
  5. extern struct _pup pup;        /* our main system file */
  6.  
  7. /* Message base memory resident index */
  8.  
  9. extern struct _msg *msg;    /* msg index file contents */
  10. extern int msgfile;        /* msg index file handle */
  11. extern int txtfile;        /* msg text file handle */
  12.  
  13. extern FLAG test;        /* 1 == test mode, (no modem) */
  14. extern FLAG localin;        /* 1 == simultaneous keyboards */
  15. extern char lmtstate;        /* 0 - 2, caller time limit warning state */
  16. extern int limit;        /* time limit in force, or 0 for no limit */
  17. extern int klimit;        /* download limit in force */
  18.  
  19. /* Caller stuff */
  20.  
  21. extern char name[36];        /* current users name */
  22. extern char rows;        /* current users screen length */
  23. extern char width;        /* current users screen width */
  24. extern char nulls;        /* current users nulls */
  25. extern FLAG pause;        /* current page pause state */
  26. extern int msgnbr;        /* current message number */
  27. extern WORD topic;        /* currently selected topic(s) */
  28.  
  29. /* Local system shit */
  30.  
  31. extern FLAG abort;        /* True if ^C typed. */
  32. extern FLAG doscode;        /* DOS error code */
  33. extern char column;        /* column number, */
  34. extern char line;
  35.  
  36. /* XMODEM protocol module */
  37.  
  38. extern int totl_files;        /* how many failed, */
  39. extern int totl_errors;        /* error count, soft errors incl */
  40. extern int totl_blocks;        /* number blocks sent, */
  41. extern char crcmode;        /* 1 if CRC mode, */
  42. extern char filemode;        /* transfer type; XMODEM, MODEM7, TELINK */
  43.  
  44. /* Modem variables */
  45.  
  46. extern FLAG cd_flag;        /* true == ignore CD line */
  47. extern WORD linkrate;        /* baud rate to/from modem */
  48. extern WORD datarate;        /* baud rate to/from caller */
  49. extern WORD cd_bit;        /* MSDOS driver: bit to test for Carrier Detect, */
  50. extern WORD iodev;        /* MSDOS driver: serial channel number */    
  51.  
  52. /* Local text buffer */
  53.  
  54. extern char *text;        /* work buffer */
  55. extern int textsize;        /* and its size */
  56.  
  57. extern LONG millisec;        /* MSDOS driver: G.P. milliseconds */
  58. extern LONG millis2;        /* MSDOS driver */
  59. extern WORD seconds,minutes,hours; /* MSDOS driver */
  60.  
  61.